<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // let [a,b,c,d = 4] = [1,2,3]
        // console.log(a,b,c,d)

        // let person = {
        //     name:"zhangsan",
        //     age : 10
        // }
        
        // let {age, name} = person
        // console.log(age, name)

        let arr = [1,2,3,4,5]
        function showArr([a,b,c]) {
            console.log(a,b,c)
        }
        showArr(arr)
    </script>
</head>
<body>
    
</body>
</html>